package com.mt.order.mapper;

import java.util.List;
import java.util.Map;

import com.mt.order.entity.OrderEntity;

public interface OrderEntityMapper {
    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderEntity record);

    /**
     * 查询列表
     * 
     * @param params
     * @return
     */
    List<OrderEntity> selectList(Map<String, Object> params);

    /**
     * 查询详情
     * 
     * @param params
     * @return
     */
    OrderEntity selectByPrimaryKey(Map<String, Object> params);

    int updateByPrimaryKeySelective(OrderEntity record);

    void insertList(List<OrderEntity> orderEntityList);

    int updateList(Map<String, Object> param);

}